#include <Arduino.h>
#include "GrapeBit.h"

GrapeBit gbit;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  gbit.initDA213();
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(1000);
  gbit.updateDA213();
  Serial.printf("%02f %02f %02f\r\n", gbit.accX(),gbit.accY(),gbit.accZ());
}
